#pragma once
#include "basegameentity.h"
#include "statemachine.h"
#include "locations.h"
#include "entitymanager.h"

class TownHall : public BaseGameEntity 
{
public:

	// Class Constructor
	TownHall(int iID);

	// Class Destructor
	~TownHall();

	// Virtual Initialize
	bool						Initialize();

	// Virtual Update Function
	void						Update(float fDt);

	// Draw Sprite
	void						Draw();

	// Getters
	StateMachine<TownHall>*		GetFSM()const {return m_pStateMachine;}

	bool						HandleMessage(const Telegram& message){return m_pStateMachine->HandleMessage(message);}

private:
	// Pointer to State Machine
	StateMachine<TownHall>*		m_pStateMachine;
};